package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 打包计费方式DTO
 * </p>
 *
 * @author rfwang
 * @since 2021-06-29
 */
@Data
@ApiModel(value="OutboundItemDTO对象", description="打包计费方式单")
public class PackBillingMethodDTO extends BasicEntity {
    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构code")
    private String groupCode;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "作业人标识")
    private String partyCode;

    @ApiModelProperty(value = "作业人名称")
    private String staffName;

    @ApiModelProperty(value = "用工类型")
    private String employmentType;

    @ApiModelProperty(value = "作业人电话")
    private String staffPhone;


    @ApiModelProperty(value = "作业日期")
    private String jobTime;

    @ApiModelProperty(value = "计费方式:days天, hours工时, pieces件")
    private String billingMethod;

    @ApiModelProperty(value = "计费单价")
    private BigDecimal billingPrice;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "作业日期下限")
    private String jobTimeStart;

    @ApiModelProperty(value = "作业日期上限")
    private String jobTimeEnd;

    @ApiModelProperty(value = "计费单价下限")
    private BigDecimal billingPriceStart;

    @ApiModelProperty(value = "计费单价上限")
    private BigDecimal billingPriceEnd;

    @ApiModelProperty(value = "劳务外包方")
    private String outsourcer;

    @ApiModelProperty(value = "授权该账号的仓库集合")
    private List<String> warehouseCodes;

}
